package jwtx

import (
	"gitee.com/workits/pkgs/contextx"
	"github.com/golang-jwt/jwt"
)

const CacheKey = "jwt:%v"

type DefinedClaims struct {
	contextx.TraceUser
	jwt.StandardClaims
}

type Config struct {
	Secret  string `mapstructure:"secret"`
	Expired int    `mapstructure:"expired"`
}
